/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication9;

/**
 *
 * @author adi
 */
public class Animal {
    public int i;
    protected String nama;
    private double angka;

    public Animal(){
        System.out.println("SOUND 1");
    }

    public Animal(String s){
        System.out.println("SOUND " + s);
    }

    protected void bark(){
        System.out.print("SOUND ");
    }
}
